<div class="content-form edit-aluno">
    
    <h2><?php echo $this->titulo; ?></h2>
    
    <?php echo $this->partial('aluno/menu.phtml', array('urlfoto'=>$this->urlfoto,'modulo'=>$this->modulo,'controller' => $this->controller, 'action' => $this->action, 'data' => $this->data)); ?>
    
    <div class="content-list" style="float: left">
        <h2>Histórico de Matriculas</h2>
        <table id="tlist">
            <thead>
                <tr>
                    <th>Cód.</th>
                    <th>Data</th>
                    <th>Curso</th>
                    <th>Grupo</th>
                    <th>Turma</th>
                    <th width="50px">Semestre</th>
                    <th width="50px">Ano</th>
                </tr>
            </thead>
            <tbody>
                <?php foreach($this->result as $row) { ?>
                <tr>  
                     <td><?php echo $row['MAT_ID']; ?></td>
                     <td><?php echo Datetools::invertDH_D($row['MAT_DATHOR']); ?></td>
                     <td><?php echo $row['CBS_NOM']; ?></td>
                     <td><?php echo $row['NRT_NOM']; ?></td>
                     <td><?php echo $row['CUR_TRM']; ?></td>
                     <td><?php echo dominio::getSemestres($row['CUR_SEM']); ?></td>
                     <td><?php echo $row['CUR_ANO']; ?></td>
                 </tr>
                <?php } ?>
            </tbody>
        </table>
    </div>
</div>